require 'rake'
require 'bundler/gem_tasks'
require 'rake/testtask'
require 'rake-tomdoc' unless RUBY_PLATFORM == 'java'

Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.test_files = FileList['test/**/test_*.rb']
  test.verbose = true
end

task default: :test
task spec: :test
